﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.Pay
{
    /// <summary>
    /// 按父订单号分组合计订单数量 参数
    /// </summary>
    public class GetParentGroupOrderTotalParams:PayUser
    {

        /// <summary>
        /// 店铺ID，不传为空，统计所有店铺的订单
        /// </summary>
        public int? StoreID { get; set; }

        /// <summary>
        /// 【必填】备货状态
        /// </summary>
        /// <remarks>
        /// 2021-11-29：修改为List类型的
        /// </remarks>
        [Required(ErrorMessage = "备货状态不能为空")]
        public List<int> StorageStatus { get; set; }

        /// <summary>
        /// 接单用户ID
        /// </summary>
        public int? OrderReceivingUserId { get; set; }

        /// <summary>
        /// 是否接单
        /// </summary>
        public bool? IsOrderReceiving { get; set; }

        #region 禅道需求238添加参数

        /// <summary>
        /// 返回所有类别（目录）的商品的订单
        /// </summary>
        public int? FolderID { get; set; }

        /// <summary>
        /// 订单状态;1(等待买家付款)、(2买家已付款)、4(交易成功)、5(交易关闭)、null(全部)
        /// </summary>
        public Nullable<int> OrderState { get; set; }

        /// <summary>
        /// 包装类别，0=堂食，1=打包，2=外卖
        /// </summary>
        /// <remarks>
        /// 
        /// </remarks>
        public int? PackType { get; set; }

        /// <summary>
        /// 下单类别；0=普通下单（默认值），1=扫码点餐下单
        /// </summary>        
        public int? SubmitType { get; set; }

        /// <summary>
        /// 不传为空返回全部；0=素材；1=作品；2=组件；3=度度圈；4=元宇宙；
        /// </summary>
        public int? VRType { get; set; }

        #endregion
    }
}
